/**
 * 
 */
$(document).ready(function() {
	$("#editUser").click(function(){
		var id = $("#id").val();
		var sex = $("#sex").val();
		var name = $("#name").val();
		var birthday = $("#birthday").val();
		var email = $("#email").val();
		var phone = $("#phone").val();
		var address = $("#address").val();
		var emailnum = $("#emailnum").val();
		$.get(
			"user/editUser",
			{"id":id,"sex":sex,"name":name,"birthday":birthday,"email":email,"phone":phone,"address":address,"emailnum":emailnum},
			function(result){
				if(result)
					alert("修改成功");
				else 
					alert("修改失败");
			}
		)
	});

	
});
	